package com.xinqi.modules.sys.appversion.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinqi.common.mybatis.data.repo.SuperMapper;
import com.xinqi.modules.sys.appversion.domain.AppVersionEntity;
import com.xinqi.modules.sys.appversion.dto.req.AppVersionQueryDTO;
import com.xinqi.modules.sys.appversion.dto.rsp.AppVersionResultDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 版本记录列表数据层
 *
 * @author: linkai
 * @date: 2023/04/27
 */
@Mapper
public interface AppVersionMapper extends SuperMapper<AppVersionEntity> {
    Page<AppVersionResultDTO> findPage(Page<Object> page, @Param("dto") AppVersionQueryDTO query);

    List<AppVersionResultDTO> findList(@Param("dto") AppVersionQueryDTO query);
}
